﻿@model sBlog.Net.Domain.Entities.PostEntity
<div class="post" style="width: 317px; padding: 0 5px 0 5px;">
    @{
        var url = Url.RouteUrl("IndividualPost", new { year = Model.PostYear, month = Model.PostMonth, url = Model.PostUrl, status = string.Empty });
    }
    <a href="@url">
        <img src="@Url.Content("http://s1.img.yan.vn/Mlog/UploadThumbs/" + Model.PostAvatar)" style="border: none 0;" width="317" alt="avatar"/></a>
    <div style="clear: both;">
    </div>
    <div class="titleControlRight">
        <a href="@url">@Model.PostTitle</a></div>
    <div class="boxAuthorViewLike" style="border: 0 none !important; margin-top: 10px;">
        <span class="posted" style="float: left;">
            <img src="@Url.Content("~/Content/Images/MlogThem/IconView.png")" width="17" height="12"  alt="View count"/>&nbsp;@Convert.ToInt32(@Model.ViewCount).ToString("#,##0")&nbsp;
            <img src="@Url.Content("~/Content/Images/MlogThem/heart-follow.png")" width="12" height="12" alt="Like count"/>&nbsp;@Convert.ToInt32(@Model.LikeCount).ToString("#,##0")
        </span>
    </div>
    <div class="clear">
    </div>
    <div class="entry">
        <span style="font-family: sfufuturalight; font-style: normal; font-size: 1em; line-height: 20px;">@Html.Raw(Model.PostDescription)</span>
    </div>
</div>
